package com.example.demo.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("inventory")
public class Inventory {

    /**
     * 库存的id信息
     */
    private Integer inventoryId;

    /**
     * 关联的物资的id
     */
    private Integer materialId;

    /**
     * 关联的物资的数量
     */
    private Integer materialNumber;

    /**
     * 库存所属区域
     */
    private Integer inventoryArea;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 删除标志位：0正常 1删除
     */
    private int delFlag;

    @TableField(exist = false)
    private Integer inventoryStatus;
    @TableField(exist = false)
    private String materialName;
    @TableField(exist = false)
    private String inventoryAreaName;

}
